package com.ymatou.iapi.exp.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*增加用户经验值Call
*FreeMaker Template自动生成代码
*/
public class AddUserExpCall extends YmatouBaseCall{
	private static String opurl ="api/addUserExp";
	
	public AddUserExpCall() {
		super(EnvSetup.getSystemUrl("exp_iapi"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	public String getErrorMessage(){
		return getString("errorMessage");
	}
	public String getErrorCode(){
		return getString("errorCode");
	}
	public String getSuccess(){
		return getString("success");
	}
}